package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Department;
import cn.wolfcode.crm.qo.PageResult;
import cn.wolfcode.crm.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface DepartmentService {

    void insert(Department record);

    void deleteByPrimaryKey(Long id);

    void  updateByPrimaryKey(Department record);

    Department selectByPrimaryKey(Long id);

    List<Department> selectAll();

    PageInfo<Department> query(QueryObject qo );


}
